package com.ruoyi.walmart.mapper.Inventory;

import com.ruoyi.walmart.domain.Inventory.FulfillmentInventory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FulfillmentInventoryMapper {

    /** 批量添加存储
     *
     * @param fulfillmentInventoryList 参数
     * @return 结果
     */
    int fulfillmentInventoryInsertList(List<FulfillmentInventory> fulfillmentInventoryList);

    /**
     * 查询
     * @return 结果
     */
    List<FulfillmentInventory> selectFulfillmentInventoryByAuthId(@Param("authId") Long authId);

    /** 全部删除 */
    int deleteFulfillmentInventory(@Param("authId") Long authId);

    /**
     * 条件查询
     * @param fulfillmentInventory
     * @return
     */
    List<FulfillmentInventory> selectFulfillmentInventoryList(FulfillmentInventory fulfillmentInventory);
}
